package com.time.admin.application.dto;

import lombok.Data;

import java.io.Serial;
import java.io.Serializable;

/**
 * 文章交互数据统计表(PostMetrics)实体DTO类
 *
 * @author HuangQi
 * @since 2025-09-30 16:56:25
 */
@Data
public class PostMetricDTO implements Serializable {

    @Serial
    private static final long serialVersionUID = -44563852197145742L;

    /**
     * 主键，自增
     */
    private Long id;

    /**
     * 文章ID，关联 posts 表
     */
    private Long postId;

    /**
     * 点赞数量
     */
    private Integer likesCount;

    /**
     * 收藏数量
     */
    private Integer favoritesCount;

    /**
     * 阅读次数
     */
    private Long viewsCount;

    /**
     * 评论条数
     */
    private Long commentsCount;

    /**
     * 文章字数统计
     */
    private Long wordCount;

}

